﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace RMS.Utils.DatabaseSchema
{
    public class SchemaParsersFactory
    {
        public static SchemaParser GetSchema(string prividerName, string connectionString)
        {
            if (prividerName != "System.Data.SqlClient")
            {
                throw new NotSupportedException();
            }
            return new SqlScehamaParser(new SqlConnection(connectionString));
        }
    }
}
